﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WJ.Infrastructure.Data
{
    public class ResultMessage
    {
        public ResultMessage()
        {
            Success = true;
        }

        public string Message { get; set; }

        public bool Success { get; set; }

        public string Code { get; set; }

        public ResultMessage(bool success, string message)
        {
            this.Success = success;
            this.Message = message;
        }

        public ResultMessage(bool success)
        {
            this.Success = success;
        }
    }
}
